package com.clgk.wechatmall.manager.entity;

import java.io.Serializable;

import com.clgk.wechatmall.common.sql.annocation.ID;
import com.clgk.wechatmall.common.sql.annocation.Table;
import com.clgk.wechatmall.common.sql.annocation.Temporal;
import com.clgk.wechatmall.common.sql.annocation.Transient;

@Table("T_MANAGER")
public class ManagerVo implements Serializable{

	
	@Transient
	private static final long serialVersionUID = 7185023416796851731L;
	
	@ID
	private Long id;
	/**
	 * 账号
	 */
	private String account;
	
	/**
	 * 用户名称
	 */
	private String username;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 管理员类型 9:管理员,10:省,11:市,12:县,13:项目用户
	 */
	private Integer type;
	/**
	 * 角色ID
	 */
	private Long roleid;
	@Transient
	private String power;//权限 如011 其中0:无，1:有;第一位保存，第二位编辑，第三位删除 
	/**
	 * T_PARTNER主键ID
	 */
	private Long partnerid;
	@Transient
	private String partnername;
	@Transient
	private String cityname;
	@Transient
	private Long cityid;
	
	/**
	 * 父级ID
	 */
	private Long parentid;
	
	@Temporal
	private String createtime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getPartnerid() {
		return partnerid;
	}

	public void setPartnerid(Long partnerid) {
		this.partnerid = partnerid;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	public Long getRoleid() {
		return roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	public String getPower() {
		return power;
	}

	public void setPower(String power) {
		this.power = power;
	}

	public String getPartnername() {
		return partnername;
	}

	public void setPartnername(String partnername) {
		this.partnername = partnername;
	}

	public String getCityname() {
		return cityname;
	}

	public void setCityname(String cityname) {
		this.cityname = cityname;
	}

	public Long getCityid() {
		return cityid;
	}

	public void setCityid(Long cityid) {
		this.cityid = cityid;
	}
	
	
	
}
